﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace NutriLeaf.Web.Core.Doctor
{
    public interface IDoctorReviews
    {
    
        void ReviewDoctor(int doctorId, int userId, int raitng, string description);

        void RemoveRecentReview(int doctorProfileId);

        Model.DoctorReview GetDoctorReviewById(int reviewId);

        List<Model.DoctorReview> GetDoctorReview(int doctorProfileId, int top);

        List<Model.DoctorReview> GetDoctorReviewByDoctor(int doctorProfileId);

        float GetAverageRating(int doctorId);

        int GetReviewCount(int doctorId);

        void RemoveReview(int reviewId);

        List<Model.DoctorProfile> GetTopRatedDoctors();

        List<Model.DoctorProfile> GetTopRatedDoctors(DoctorType type);

    }
}